The error number is followed by the error message which is accompanied by a brief description of the possible cause of the error.
| 1 | CGM not in proper state. Should be in state KMFCL |
An attempt has been made to begin an already open metafile
| 2 | CGM not in proper state. Should be KMFDS, KPIDS, KPIOP or KPICL |
An attempt has been made to process an external element in an invalid state
| 3 | CGM not in proper state. Should be in state KMFDS |
An attempt has been made to process a Metafile Descriptor element while not in Metafile Descriptor state
| 4 | CGM not in proper state. Should be in state KPIDS |
An attempt has been made to process a Picture Descriptor element while not in Picture Descriptor state
| 5 | CGM not in proper state. Should be in state KMFDS or KPICL |
An attempt has been made to end a metafile or open a picture from within an open picture
| 6 | CGM not in proper state. Should be in state KPIOP |
An attempt has been made to process a graphical primitive or attribute element while picture is not open
| 7 | CGM not in proper state. Should be in state KPIDS or KPIOP |
An attempt has been made to close a picture while picture is not open
| 8 | CGM not in proper state. Should be in state KPATX |
An attempt has been made to append while text final/not final flag is set to final
| 9 | CGM not in proper state. Should be in state KPIOP or KPATX |
As error number 6 except covering special case of elements which can occur in both states
| 10 | CGM not in proper state. Should be in state KMFDEF |
An attempt has been made to end metafile defaults replacement before a begin metafile defaults replacement has been encountered
| 20 | Invalid metafile |
An attempt has been made to leave the Metafile Descriptor state without writing the elements Metafile Version or Metafile Element List
| 30 | Unknown element |
An op-code has been encountered which is not included in the standard
| 45 | Invalid rectangle definition. Zero area |
A zero area rectangle has been defined within VDC Extent, Clip Rectangle or Rectangle Elements
| 50 | Element not included in metafile element list |
Self explanatory
| 100 | Invalid line bundle index |
A line bundle index which is negative or greater than indicated by Index Precision has been specified
| 101 | Invalid marker bundle index |
A marker bundle index which is negative or greater than indicated by Index Precision has been specified
| 102 | Invalid text bundle index |
A text bundle index which is negative or greater than indicated by Index Precision has been specified
| 103 | Invalid text font index |
A text font index which is negative or greater than indicated by Font List or Index Precision has been specified
| 104 | Invalid character set index |
A character set index which is negative or greater than indicated by Character Set List or Index Precision has been specified
| 105 | Invalid alternative character set index |
An alternative character set index which is negative or greater than indicated by Character Set List or Index Precision has been specified
| 106 | Invalid fill bundle index |
A fill bundle index which is negative or greater than indicated by Index Precision has been specified
| 107 | Invalid pattern index |
A pattern index which is negative or greater than indicated by Index Precision or Pattern Table has been specified
| 108 | Invalid edge bundle index |
An edge bundle index which is negative or greater than indicated by Index Precision has been specified
| 130 | Invalid line colour |
A line colour whose index is negative or greater than Maximum Colour Index or at least one of whose components lies outside the range indicated by Colour Value Extent has been specified
| 131 | Invalid marker colour |
A marker colour whose index is negative or greater than Maximum Colour Index or at least one of whose components lies outside the range indicated by Colour Value Extent has been specified
| 132 | Invalid text colour |
A text colour whose index is negative or greater than Maximum Colour Index or at least one of whose components lies outside the range indicated by Colour Value Extent has been specified
| 133 | Invalid fill colour |
A fill colour whose index is negative or greater than Maximum Colour Index or at least one of whose components lies outside the range indicated by Colour Value Extent has been specified
| 134 | Invalid edge colour |
An edge colour whose index is negative or greater than Maximum Colour Index or at least one of whose components lies outside the range indicated by Colour Value Extent has been specified
| 200 | Loss of integer precision |
An integer value outside the range indicated by Integer Precision has been specified
| 202 | Loss of real precision |
A real value outside the range indicated by Real Precision has been specified
| 204 | Real VDC lost precision |
A real VDC value outside the range indicated by VDC Real Precision has been specified
| 205 | Real point lost precision |
One of x,y in (a real point) lies outside the range indicated by VDC Real Precision
| 206 | Integer VDC lost precision |
An integer VDC value outside the range indicated by VDC Integer Precision has been specified
| 207 | Integer point lost precision |
One of x,y in (an integer point) lies outside the range indicated by VDC Integer Precision
| 210 | Invalid VDC distance |
A negative or 'zero' distance has been specified. e.g. Circle Radius, Character Height
| 220 | Point outside VDC Extent |
At least one of the coordinates of a point is greater (or less) than the relevant VDC EXTENT coordinate
| 230 | Invalid colour list |
An error list has been encountered when processing a colour list. Perhaps invalid type, colour specification greater than maximum
| 302 | Invalid line width |
A negative or 'zero' line width has been specified
| 304 | Invalid marker size |
A negative or 'zero' marker size has been specified
| 306 | Invalid edge width |
A negative or 'zero' edge width has been specified
| 310 | Invalid character expansion factor |
A negative character expansion factor has been specified
| 312 | Invalid character spacing |
A negative character spacing width has been specified
| 320 | Invalid test alignment |
A value outside the enumerated range for text alignment [0,4] & [0,6] has been specified
| 332 | Invalid text final/not-final flag |
A value other than 0 or 1 for either a closure flag or an edge visibility flag was specified
| 333 | Invalid closure/edge visibility flag |
A value other than 0 or 1 for either a closure flag or an edge visibility flag was specified
| 334 | Invalid line type |
A value greater than 5 for line type was specified
| 336 | Invalid marker type |
A value greater than 5 for marker type was specified
| 338 | Invalid text precision |
A value outside the range [0,2] for text precision was specified
| 340 | Invalid text path |
A value outside the range [0,2] for text path was specified
| 350 | Invalid interior style |
A value greater than 4 for interior style was specified
| 352 | Invalid hatch index |
A value greater than 6 for hatch index was specified
| 354 | Invalid edge type |
A value greater than 5 for edge type was specified
| 360 | Aspect source flag error |
An unacceptable value for aspect [0,17] or [506,511] or a value other than 0 or 1 for aspect source was specified
| 370 | Invalid message action flag |
A value other than 0 or 1 was encountered as a message action flag
| 401 | Invalid VDC type |
A value other than 0 or 1 has been specified
| 402 | Invalid maximum colour index |
A maximum colour index which is either negative or greater than that indicated by Colour Index Precision
| 403 | Invalid colour value extent |
A colour value extent where either minimum colour value is greater than maximum colour value or a component lies outside the range indicated by Colour Precision has been specified
| 404 | Invalid real precision |
An inconsistent set of parameters for real precision (e.g. smallest real code greater than largest real code) or a value other than 0 or 1 for exponents allowed flag has been specified. An invalid combination of real precision for binary encoding
| 405 | Invalid integer precision |
An invalid value for integer precision was encountered. A number less than 1. Or an unspecified precision for binary encoding
| 406 | Invalid background colour |
A background colour at least one of whose components lies outside the range indicated by Colour Value Extent has been specified
| 407 | Invalid auxiliary colour |
An auxiliary colour whose index is negative or greater than Maximum Colour Index or at least one of whose components lies outside the range indicated by Colour Value Extent has been specified
| 408 | Invalid index precision |
An invalid value for index precision was encountered. A number less than 1. Or an Unspecified precision for binary encoding
| 409 | Invalid colour precision |
An invalid value for colour precision was encountered. A number less than 1. Or an unspecified precision for binary encoding
| 410 | Invalid colour index precision |
An invalid value for colour index precision was encountered. A number less than 1. Or an unspecified precision for binary encoding
| 411 | Invalid metafile element list |
Either an invalid op-code or a value greater than 1 has been specified in the element list
| 412 | Invalid character set type |
A value other than the range [0,4] has been specified as a character set type
| 413 | Invalid character coding announcer |
A value greater than 3 as a character coding announcer has been specified
| 414 | Invalid scaling mode |
A value other than 0 or 1 for scaling mode has been specified
| 415 | Invalid colour selection mode |
A value other than 0 or 1 for colour selection mode has been specified
| 416 | Invalid line width selection mode |
A value other than 0 or 1 for line width selection mode has been specified
| 417 | Invalid marker size selection mode |
A value other than 0 or 1 for marker size selection mode has been specified
| 418 | Invalid edge width selection mode |
A value other than 0 or 1 for edge width selection mode has been specified
| 419 | Invalid scale factor |
A negative or 'zero' value for metric scale factor has been specified
| 422 | Invalid VDC real precision |
As for error number 404
| 423 | Invalid VDC integer precision |
As for error number 405
| 424 | Invalid transparency indicator |
A value other than 0 or 1 for the transparency indicator was specified
| 426 | Invalid clip indicator |
A value other than 0 or 1 for the clip indicator was specified
| 700 | Invalid CGM coding type |
CGM file must be character or binary coding
| 708 | No file opened for interpreter |
A partial interpretation routine called before gOpenCGMFile
| 709 | Error opening CGM file |
Self explanatory
| 710 | Error while writing to metafile |
Self explanatory
| 711 | Error while reading from CGM file |
Self explanatory
| 712 | End of CGM metafile reached |
Self explanatory
| 720 | Input buffer overflow |
While storing data to send to (or read from) a file, the maximum has been exceeded. This value is specified by the implementor
| 740 | Invalid parameter data found |
Some redundant parameter data at the end of an element was encountered (i.e. An op-code was not found immediately following the end of an element)
| 750 | String data overflow |
A string variable has a length greater than the maximum string length implemented (255)
| 760 | Colour buffer overflow |
A colour definition or cell array definition exceeds implementation maximum (2048)
| 770 | Polyline/polygon buffer overflow |
Number of points in polyline or polygon exceeds implemented maximum (1024)
| 999 | Unknown error |